//一些常量的名称
package illusion

var (
	SessionOfMemory = "memory"
	SessionOfFile   = "file"
	SessionOfRedis  = "redis"

	//一些固定的参数名称
	TemplateName = "template"
	LoggerPath   = "logger-path"
	ViewPath     = "view-path"
	ResourcePath = "resource-path"
	Debug        = "debug"

	//数据库连接参数名称
	DatabaseDriver   = "driver"
	DatabaseUser     = "user"
	DatabasePassword = "password"
	DatabaseHost     = "host"
	DatabasePort     = "port"
	DatabaseName     = "database"

	//session的一些设置
	SessionName      = "session"
	SessionPath      = "session-path"
	SessionRedisHost = "session-redis-host"
	SessionRedisPort = "session-redis-port"
	SessionExpire    = "session-expire-after"    //session过期时间,暂时不使用

	CacheOfMemory         = "memory"
	CacheOfRedis          = "redis"
	//DefaultExpireDuration = int64(3600) //一个小时就是过期时间

	CacheName = "cache"
	CacheExpire = "cache-expire"
	CacheRedisHost= "cache-redis-host"
	CacheRedisPort = "cache-redis-port"
)

